package com.esdk.test.orm;
import com.esdk.sql.orm.ParentRow;
import java.sql.SQLException;
import java.sql.Connection;
import com.esdk.esdk;
import java.util.Date;

public class SysDictRow extends ParentRow<SysDictRow>{
  public transient static final String PrimaryKey=SysDictMetaData.PrimaryKey;
  public transient static final String tableName=SysDictMetaData.TABLENAME;
  public transient static final SysDictMetaData metaData=SysDictSelect.metaData;
  public transient static final SysDictMetaData md=metaData;
  public SysDictRow(){
    super();
    setAutoIncrement(SysDictMetaData.IsAutoIncrement);
  }

  public SysDictRow(Connection conn){
    this();
    setConnection(conn);
  }

  public SysDictRow(Connection conn,Number pkid)throws SQLException{
    this();
    setConnection(conn);
    refresh(pkid);
  }

  public SysDictMetaData getMetaData(){
    return metaData;
  }

  public SysDictRow newSelf(){
    return new SysDictRow();
  }

  public Long getDictId(){
    return esdk.obj.convert(get(SysDictMetaData.DictId),Long.class);
  }

  public void setDictId(Long value){
    setNewValue(SysDictMetaData.DictId,value);
  }

  public String getCategory(){
    return esdk.obj.convert(get(SysDictMetaData.Category),String.class);
  }

  public void setCategory(String value){
    setNewValue(SysDictMetaData.Category,value);
  }

  public Long getParentId(){
    return esdk.obj.convert(get(SysDictMetaData.ParentId),Long.class);
  }

  public void setParentId(Long value){
    setNewValue(SysDictMetaData.ParentId,value);
  }

  public String getText(){
    return esdk.obj.convert(get(SysDictMetaData.Text),String.class);
  }

  public void setText(String value){
    setNewValue(SysDictMetaData.Text,value);
  }

  public String getValue(){
    return esdk.obj.convert(get(SysDictMetaData.Value),String.class);
  }

  public void setValue(String value){
    setNewValue(SysDictMetaData.Value,value);
  }

  public Integer getSequence(){
    return esdk.obj.convert(get(SysDictMetaData.Sequence),Integer.class);
  }

  public void setSequence(Integer value){
    setNewValue(SysDictMetaData.Sequence,value);
  }

  public Long getTenantId(){
    return esdk.obj.convert(get(SysDictMetaData.TenantId),Long.class);
  }

  public void setTenantId(Long value){
    setNewValue(SysDictMetaData.TenantId,value);
  }

  public Boolean getIsCascade(){
    return esdk.obj.convert(get(SysDictMetaData.IsCascade),Boolean.class);
  }

  public void setIsCascade(Boolean value){
    setNewValue(SysDictMetaData.IsCascade,value);
  }

  public String getRemark(){
    return esdk.obj.convert(get(SysDictMetaData.Remark),String.class);
  }

  public void setRemark(String value){
    setNewValue(SysDictMetaData.Remark,value);
  }

  public Boolean getValid(){
    return esdk.obj.convert(get(SysDictMetaData.Valid),Boolean.class);
  }

  public void setValid(Boolean value){
    setNewValue(SysDictMetaData.Valid,value);
  }

  public Date getCreateTime(){
    return esdk.obj.convert(get(SysDictMetaData.CreateTime),Date.class);
  }

  public void setCreateTime(Date value){
    setNewValue(SysDictMetaData.CreateTime,value);
  }

  public Long getCreateUserId(){
    return esdk.obj.convert(get(SysDictMetaData.CreateUserId),Long.class);
  }

  public void setCreateUserId(Long value){
    setNewValue(SysDictMetaData.CreateUserId,value);
  }

  public String getCreateUserName(){
    return esdk.obj.convert(get(SysDictMetaData.CreateUserName),String.class);
  }

  public void setCreateUserName(String value){
    setNewValue(SysDictMetaData.CreateUserName,value);
  }

  public Date getUpdateTime(){
    return esdk.obj.convert(get(SysDictMetaData.UpdateTime),Date.class);
  }

  public void setUpdateTime(Date value){
    setNewValue(SysDictMetaData.UpdateTime,value);
  }

  public Long getUpdateUserId(){
    return esdk.obj.convert(get(SysDictMetaData.UpdateUserId),Long.class);
  }

  public void setUpdateUserId(Long value){
    setNewValue(SysDictMetaData.UpdateUserId,value);
  }

  public String getUpdateUserName(){
    return esdk.obj.convert(get(SysDictMetaData.UpdateUserName),String.class);
  }

  public void setUpdateUserName(String value){
    setNewValue(SysDictMetaData.UpdateUserName,value);
  }

  public Integer getVersion(){
    return esdk.obj.convert(get(SysDictMetaData.Version),Integer.class);
  }

  public void setVersion(Integer value){
    setNewValue(SysDictMetaData.Version,value);
  }

}
